package com.shareach.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.domain.BizTicketDomain;

public interface BizTicketService {

	Map<String,Object> saveOrUpdate(BizTicketDomain domain);

	Long save(BizTicketDomain doamin);

	void del(BizTicketDomain domian);

	void update(BizTicketDomain domain);

	// update by domain
	void update(BizTicketDomain domain, BizTicketDomain condition);

	BizTicketDomain getById(Long id);

	List<BizTicketDomain> getList(BizTicketDomain condition);

	// load page
	Page<BizTicketDomain> getPageResult(BizTicketDomain domain, BaseQueryOrder order);

	BizTicketDomain findOne(BizTicketDomain domain);

	List<BizTicketDomain> getListByIds(List<Long> ids, BaseQueryOrder order);
	
}
